﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<CRM.Database.Model.TechnicReport1>" %>

<fieldset>
    <legend>Чистота и температура производственных площадей</legend>
    <br />
    <table border="1" cellspacing="0" cellpadding="5">
        <tr>
            <td class="display-label">
                Чистота в цехе
            </td>
            <td class="display-label">
                грязно
            </td>
            <td class="display-field">
                <%: Utilites.Utilites.GetReportMark(Model.Field1) %>
                <%--<%: Html.DisplayFor(model => model.Field2) %>--%>
            </td >
            <td class="display-label">
                удовлетворительно
            </td>
            <td class="display-field">
                <%: Utilites.Utilites.GetReportMark(Model.Field2)%>
                <%--<%: Html.DisplayFor(model => model.Field2) %>--%>
            </td>
            <td class="display-label">
                чисто
            </td>
            <td class="display-field">
                <%: Utilites.Utilites.GetReportMark(Model.Field3) %>
                <%--<%: Html.DisplayFor(model => model.Field3) %>--%>
            </td>
        </tr>
        <tr>
            <td colspan="5">
                Семпература в цехе зимой С
            </td>
            <td colspan="2">
                <%: Html.DisplayFor(model => model.Field4) %>
            </td>
        </tr>
    </table>

</fieldset>

    <%--<div class="display-label">IdTechnicReport1</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.IdTechnicReport1) %>
    </div>

    <div class="display-label">IdTechnicRequest</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.IdTechnicRequest) %>
    </div>

    <div class="display-label">Field1</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.Field1) %>
    </div>

    <div class="display-label">Field2</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.Field2) %>
    </div>

    <div class="display-label">Field3</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.Field3) %>
    </div>

    <div class="display-label">Field4</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.Field4) %>
    </div>

    <div class="display-label">IdUser</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.IdUser) %>
    </div>--%>

<%--<p>
    <%: Html.ActionLink("Edit", "Edit", new { /* id=Model.PrimaryKey */ }) %> |
    <%: Html.ActionLink("Back to List", "Index") %>
</p>
--%>